<template>
    <div class="wrap-back">
        <el-page-header @back="goBack" :content="pageTitle"> </el-page-header>
    </div>
</template>

<script>
export default {
    name: 'backLastPage',
    computed: {
        pageTitle() {
            return this.$route.meta.title || ''
        }
    },
    methods: {
        goBack() {
            this.$router.go(-1)
        }
    }
}
</script>

<style lang="scss" scoped>
.wrap-back {
    margin-bottom: 10px;
}
</style>